<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="">
<title>UCenter注册演示</title>
<link href="<?php echo base_url(); ?>public/common/bootstrap/3.3.0/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo base_url(); ?>public/css/front.css" rel="stylesheet">
<!--[if lt IE 9]>
	<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
	<script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- include common/head.php -->
</head>
<body style="width:500px; margin:100px auto;">

<?php if (validation_errors()) { ?>
<div class="bg-warning p15">
	<?php echo validation_errors(); ?>
</div>
<?php } ?>
<form id="J_register_form" action="<?php echo site_url('demo/uc/reg'); ?>" method="post" role="form">
	<div class="form-group">
		<label for="F_username">
			用户账号
		</label>
		<input class="form-control" id="F_username" type="text" name="username" value="" placeholder="输入用户账号">
		<span class="help-block">注释</span>
	</div>
	<div class="form-group">
		<label for="F_password">
			用户密码
		</label>
		<input class="form-control" id="F_password" type="password" name="password" value="" placeholder="输入用户密码">
		<span class="help-block">注释</span>
	</div>
	<div class="form-group">
		<label for="F_repassword">
			确认密码
		</label>
		<input class="form-control" id="F_repassword" type="password" name="repassword" value="" placeholder="输入确认密码">
		<span class="help-block">注释</span>
	</div>
	<div class="form-group">
		<label for="F_email">
			用户邮箱
		</label>
		<input class="form-control" id="F_email" type="email" name="email" value="" placeholder="输入用户邮箱">
		<span class="help-block">注释</span>
	</div>
	<button type="submit" class="btn btn-primary">确认注册</button>
</form>

<script src="<?php echo base_url(); ?>public/common/jquery-1.9.1.min.js"></script>
<script src="<?php echo base_url(); ?>public/common/jquery-validate/1.13.1/jquery.validate.min.js"></script>
<script>
$(function(){
	$("#J_register_form").validate({
		
	});
});
</script>
</body>
</html>
